<?php
 class Pages_model extends Model{
    function __construct(){
        parent::__construct();
    }
    
     /** 
     * Insert data for contact
     * @author tien.nguyen
     */
    public function getPage($page_code){
        $query = $this->db->get_where('pages', array('PageCode' => $page_code));
        return $query->row_array();
    }
 }
?>